# 小明在各个课上得到的贴纸
stickers_chinese = 4
stickers_english = 3
stickers_math = 4
# 计算小明一共收集了多少张贴纸
total_stickers = stickers_chinese + stickers_english + stickers_math;

print("小明在语文课上得到的贴纸有", stickers_chinese, "张");
print("小明在英语课上得到的贴纸有", stickers_english, "张");
print("小明在数学课上得到的贴纸有", stickers_math, "张");
print("小明一共收集了", total_stickers, "张贴纸"); 
# 思考：为什么不用print("小明一共收集了" + total_stickers + "张贴纸");

print("小明一共收集了" + str(total_stickers) + "张贴纸");